package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 国籍表
 */
@Entity
@Setter
@Getter
@ToString
public class FootGj extends BaseEntity implements Serializable {
    @Column(name = "name", length = 200)
    @NotNull
    private String name;
    @Column(name = "logo")
    private Long logo;
    @Transient
    private String logoUrl;
    @Column(name = "gjbm", length = 200)
    @NotNull
    private String gjbm;
    @Column(name = "yw", length = 200)
    @NotNull
    private String yw;
    @Column(name = "slt")
    private Long slt;
    @Transient
    private String sltUrl;
    @Transient
    private byte[] img;
    @Transient
    private byte[] sltimg;
    @Column(name = "area_id")
    private Long areaId;
}